/* ===== BIOS CONTAINER ===== */
#bios-container {
  width: 100%;
  height: 100%;
  background: #0f0f0f;
  color: #c8c8c8;
  font-family: 'Courier New', monospace;
  font-size: 15px;
  display: flex;
  flex-direction: column;
  border: 1px solid #333;
  overflow: hidden;
  box-sizing: border-box;
}

/* ===== HEADER ===== */
#bios-header {
  background: linear-gradient(90deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid #00d4ff;
  flex-shrink: 0;
}

.bios-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.bios-logo {
  font-size: 20px;
}

.bios-brand-name {
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  letter-spacing: 2px;
}

.bios-brand-accent {
  color: #00d4ff;
}

.bios-version {
  font-size: 11px;
  color: #888;
}

.bios-header-right {
  display: flex;
  gap: 20px;
  font-size: 12px;
  color: #aaa;
}

.bios-temp {
  color: #ff9500;
}

/* ===== NAV TABS ===== */
#bios-nav {
  background: #1a1a1a;
  display: flex;
  border-bottom: 1px solid #333;
  flex-shrink: 0;
}

.bios-nav-item {
  padding: 8px 28px;
  cursor: pointer;
  font-size: 13px;
  color: #888;
  border-right: 1px solid #333;
  transition: all 0.15s;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.bios-nav-item:hover {
  color: #00d4ff;
  background: #222;
}

.bios-nav-item.active {
  color: #ffffff;
  background: #0f3460;
  border-bottom: 2px solid #00d4ff;
  margin-bottom: -1px;
}

/* ===== BODY ===== */
#bios-body {
  display: flex;
  flex-direction: row;
  flex: 1;
  overflow: hidden;
}

#bios-content {
  display: flex;
  flex: 1;
  overflow-y: auto;
  gap: 0;
}

/* ===== TABS ===== */
.bios-tab {
  display: none;
  flex-direction: column;
  gap: 12px;
  padding: 16px;
  flex: 1;
  overflow-y: auto;
}

.bios-tab.active {
  display: flex;
}

/* ===== SIDEBAR ===== */
#bios-sidebar {
  width: 160px;
  background: #111;
  border-left: 1px solid #2a2a2a;
  padding: 16px 12px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}

.bios-sidebar-block {
  border: 1px solid #2a2a2a;
  padding: 10px;
  border-radius: 2px;
}

.bios-sidebar-title {
  color: #00d4ff;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  border-bottom: 1px solid #222;
  padding-bottom: 4px;
}

.bios-sidebar-item {
  font-size: 13px;
  color: #aaa;
  padding: 3px 0;
}

/* ===== PANELS ===== */
.bios-panel {
  background: #141414;
  border: 1px solid #2a2a2a;
  border-radius: 2px;
  overflow: hidden;
}

.bios-panel-title {
  background: linear-gradient(90deg, #0f3460, #1a1a2e);
  color: #00d4ff;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 14px;
  border-bottom: 1px solid #2a2a2a;
}

/* ===== ROWS ===== */
.bios-rows {
  padding: 4px 0;
}

.bios-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 14px;
  border-bottom: 1px solid #1e1e1e;
  transition: background 0.1s;
}

.bios-row:last-child {
  border-bottom: none;
}

.bios-row:hover {
  background: #1c2a3a;
}

.bios-label {
  color: #888;
  font-size: 14px;
  min-width: 160px;
}

.bios-value {
  color: #c8c8c8;
  font-size: 14px;
  text-align: right;
}

.bios-value.highlight {
  color: #ffffff;
  font-weight: bold;
  font-size: 15px;
}

.bios-green {
  color: #00ff88 !important;
}

/* ===== BIO TEXT ===== */
.bios-bio {
  padding: 14px;
  color: #aaa;
  font-size: 14px;
  white-space: normal;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.8;
  font-family: 'Courier New', monospace;
  border-left: 3px solid #00d4ff;
  margin: 10px 14px;
  background: #0d0d0d;
}

/* ===== PERFORMANCE BARS ===== */
.bios-bars {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bios-bar-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bios-bar-label {
  font-size: 13px;
  color: #888;
  min-width: 120px;
}

.bios-bar-track {
  flex: 1;
  height: 6px;
  background: #222;
  border-radius: 0;
  border: 1px solid #333;
  overflow: hidden;
}

.bios-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, #0f3460, #00d4ff);
  transition: width 1s ease;
  width: var(--w);
}

.bios-bar-val {
  font-size: 13px;
  color: #00d4ff;
  min-width: 36px;
  text-align: right;
}

/* ===== HOBBY ROWS ===== */
.hobby-row .bios-value {
  font-weight: bold;
}

/* ===== CONTACT ===== */
.bios-link {
  color: #00d4ff;
  text-decoration: none;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: color 0.2s;
}

.bios-link:hover {
  color: #ffffff;
}

.bios-link-icon {
  background: #00d4ff;
  color: #000;
  font-size: 10px;
  font-weight: bold;
  padding: 2px 5px;
  border-radius: 2px;
}

/* ===== BLINK ANIMATION ===== */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.3; }
}

.bios-blink {
  animation: blink 2s ease-in-out infinite;
}

/* ===== FOOTER ===== */
#bios-footer {
  background: #1a1a2e;
  border-top: 1px solid #00d4ff;
  padding: 6px 20px;
  display: flex;
  gap: 30px;
  font-size: 13px;
  color: #555;
  flex-shrink: 0;
}

#bios-footer span {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== SCROLLBAR ===== */
#bios-content::-webkit-scrollbar,
.bios-tab::-webkit-scrollbar {
  width: 4px;
}

#bios-content::-webkit-scrollbar-track,
.bios-tab::-webkit-scrollbar-track {
  background: #111;
}

#bios-content::-webkit-scrollbar-thumb,
.bios-tab::-webkit-scrollbar-thumb {
  background: #00d4ff44;
}